package com.hqully.smartfumehood.mapper;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.hqully.smartfumehood.entity.FumeHoodData;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
* @author ZH.ming
* @description 针对表【fume_hood_data】的数据库操作Mapper
* @createDate 2022-06-24 10:30:48
* @Entity com.hqully.smartfumehood.entity.FumeHoodData
*/
@Mapper
public interface FumeHoodDataMapper extends BaseMapper<FumeHoodData> {
    /**
     * <p>
     *     添加通风柜数据
     * </p>
     * @date 2022/6/24 15:43 <br>
     * @author liulingyu <br>
     * @param fumeHoodData 通风柜数据实体类
     * @return {@link int}
     */
    int addFumeHoodData(FumeHoodData fumeHoodData);
    /**
     * <p>
     *     根据[APId, vavId]查询通风柜数据
     * </p>
     * @date 2022/6/24 15:44 <br>
     * @author liulingyu <br>
     * @param query 包括apid和通风柜id
     * @return {@link List< FumeHoodData>} 通风柜数据列表
     */
    List<FumeHoodData> findAllByAPIdAndVavId(Map query);
    /**
     * <p>
     *     根据[vavId]查询通风柜数据
     * </p>
     * @date 2022/7/1 15:15 <br>
     * @author liulingyu <br>
     * @param query 包括通风柜id
     * @return {@link List< FumeHoodData>} 通风柜数据列表
     */
    List<FumeHoodData> findAllByVavId(Map query);
}




